The interaction energy between hydrocarbon chains