UN warns against EU 'detention centers' for refugees