Effect of reaction time on structural and magnetic properties of green-synthesized magnetic nanoparticles