Tears, cheers and selfies as climate pact sealed in Paris