Rare earth based nanostructured materials: synthesis, functionalization, properties and bioimaging and biosensing applications