Fabrication and characterization of electrodeposited and magnetron-sputtered thin films