Isotope Fractionation During Volatile Loss From Planets And Asteroids