Modelling the distribution of stable carbon isotopes in porewaters of deep-sea sediments