Method for the pyrolysis of raw materials, in particular raw materials deriving from tires or bitumen and pyrolysis equipment operating according to said method