Quaternary ammonium compounds foam