Porous graphite matrix for chemical heat pumps