Preparation and characterization of magnetite (Fe3O4) nanoparticles by sol-gel method