In a first, delegates at UN climate talks agree to transition away from planet-warming fossil fuels