A common relation for correlating pyrolysis yields of coals and oil shales