Calculation of the stability and solubility of methane hydrate in seawater