Temperature analysis shows UN goals ‘within reach’