The origin of Arctic precipitation under present and glacial conditions