Green Synthesis of magnetic nanostructures suitable as recoverable nanocatalysts and conductive nanomaterials