factors controlling ocean temperature