Deutsche Bank, the biggest bank in Germany, has said it will stop financing coal projects as part of its commitments under the Paris agreement to tackle global warming.