Process for the production of micro and/or nanoparticles