Amid hope and hype, delegates have finished signing the Paris climate agreement at UN headquarters in New York.