Smart nanoparticles for cancer therapy