Photodissociation of water. I. Electronic structure calculations for the excited states | Synapse