Religious leaders should pull their money out of investments in fossil fuel companies and encourage their followers to do the same, according to the UN's climate chief.