Investigation of oil-shale pyrolysis processing conditions using thermogravimetric analysis