Precipitating nanoparticles in monomers for producing hybrid particles