Storage capacity and vibration frequencies of guest molecules in CH4 and CO2 hydrates by first-principles calculations.