DNA-templated magnetic nanowires with different compositions: fabrication and analysis.