Cocoamidopropyl betaine as a viscosity builder