Transferable potential function for flexible H2O molecules based on the single-center multipole expansion