A purely elastic transition in Taylor-Couette flow