The Mechanism of the C5- and C6-Dehydrocyclisation and Skeletal Isomerisation Reactions of Hydrocarbons in the Presence of Metal-Containing catalysts