Green coke pyrolysis: investigation of simultaneous changes in gas and solid phases