Nanoparticles for in-vitro and in-vivo biosensing and imaging