Bistability of CCN concentrations and thermodynamics in the cloud-topped boundary layer