Optical absorption and electronic spectra of chlorophylls a and b