Structural comparison of M–W (M = Fe, Ni) alloys produced by electrodeposition and mechanical alloying