SMHI warns of gales at sea