Viscosity of wormlike micelles: Determination of the end cap energy and persistence length