'Hours on a footnote’: Scientists felt joy, frustration in making U.N. climate report