Ultrahigh vacuum techniques in the measurement of contact angles. IV. Water on graphite (0001)