High internal phase water-in-oil emulsions: influence of surfactants and cosurfactants on emulsion stability and foam quality