Optical properties of coals and liquefaction residues as indicators of reactivity