Adsorption of proteins to functional polymeric nanoparticles