Deuterium and oxygen 18 in precipitation: Modeling of the isotopic effects during snow formation