UN resolution allows EU naval action on migrant boats