Numerical simulations of granular shear zones using the distinct element method: 1. Shear zone kinematics and the micromechanics of localization