Electronic structure of the ground and excited states of beta-carboline.