On the energy confinement times of tokamaks