Theoretical study of the excited states of 3-phenyl- and 3-thiophenyl-coumarins