Climate change and the law