Near infrared to vacuum ultraviolet absorption spectra and the optical constants of phthalocyanine and porphyrin films