Nonadiabatic motion of charged particles in axisymmetric mirror magnetic fields