Effects of temperature and precipitation variability on snowpack trends in the western United States