The climate talks have come to a close. Here’s what happened and what’s next.