Two-photon ionization calculations. Results for H2O