Available Potential Energy and Irreversible Mixing in the Meridional Overturning Circulation