Preparation of hydrocarbons {or halogenated hydrocarbons containing one or more isoprene units, i.e. terpenes }