US, China show rare agreement in climate change declaration