Production of drug-loaded polymeric nanoparticles by electrospraying technology