The synthesis of spinel–ferrite nanoparticles using precipitation in microemulsions for ferrofluid applications