Rotational and vibrational energy distributions of 16OH(X 2Π) and 18OH(X 2Π) produced in the reaction of O(1D) with H2O and H2 18O