Amphoteric emulsifiers for dyeing