Thermodynamic constraint on the depth of the global tropospheric circulation