Nanoparticles for delivery of a pharmacologically active agent