Impact of diabetes on healthcare costs in a population‐based cohort: a cost analysis