Gas solubility in water and the effects of temperature and salt