Captive sample reactor for kinetic studies of coal pyrolysis and hydropyrolysis on short time scales