Influence of the ion energy on the growth and structure of thin hydrocarbon films