Note on the stability of water stratified by both salt and heat