Dissolution of sulfur dioxide and nitrogen monoxide in water