Hundreds of migrants in the enclave of Ceuta have been moved from beaches to temporary facilities at the port.