Multifunctional nanoparticles: from the detection of biomolecules to the therapy