Shape memory effect and pseudoelasticity in CuZnSi