A Spectroscopic Study on Nanosensors and Porphyrins for Bioimaging