One-pot electrosynthesis of multi-layered magnetic metallopolymer nanocomposites.