Liquefaction of coals and maceral concentrates in a flowing-solvent reactor