Preparation of hydrocarbons from one or more compounds, none of them being a hydrocarbon by splitting of esters