Credit rating agencies are creating significant risks for investors, and could be exposing themselves to legal liability, by failing to acknowledge the climate risks facing fossil fuel investments, a US law group has warned.