How the Environment Controls Absorption and Fluorescence Spectra of PRODAN: A Quantum-Mechanical Study in Homogeneous and Heterogeneous Media