Study of the pyrolysis of polystyrenes