Water deuteration and ortho-to-para nuclear spin ratio of H_2 in molecular clouds formed via the accumulation of H I gas