Synthesis of inorganic nanoparticles using microfluidic devices