A theoretical insight into the photophysics of psoralen.