pH-responsive nanoparticles for targeted drug delivery