Black holes, vacuum decay and thermodynamics