EU states agree to extend temporary protection for Ukrainian refugees until 2027