Multilayer emulsions as delivery systems for controlled release of volatile compounds using pH and salt triggers