The cosmological constant as a thermodynamic black hole parameter