The use of CNDO in spectroscopy. XV. Two photon absorption