Computational study of self-heating ignition and smouldering combustion of carbon-rich porous media