Coupling an ocean wave model to an atmospheric general circulation model