Calculation of the electronic spectra of chlorophyll a- and bacteriochlorophyll a-water adducts