Unraveling the properties of sharply defined submicron scale FeCu and FePd magnetic structures fabricated by electrodeposition onto electron-beam-lithographed substrates