The electronic structure of the valence bands of solid NH3 and H2O studied by ultraviolet photoelectron spectroscopy