The energy balance of divertor discharges in the PDX tokamak