Analysis of the ion energy transport in ohmic discharges in the ASDEX tokamak