Thermal Expansion of H2O and D2O in Small Pores