how does the moon affect the oceans and seas