Coastal dunes and ocean waves