Absorption and Emission Spectra of a Flexible Dye in Solution: A Computational Time-Dependent Approach