Theoretical study of the ground and excited singlet states of styrene