Thousands of migrants rescued at sea