A CASSCF study of the S0 and S1 states of phenol