COP28 ends with deal on transition away from fossil fuels :