Libya to close migrant centres after criticism from UN