EU leaders agree to mobilise 1bn euros for UN refugee agency