DYNAMICAL FORMATION OF MILLISECOND PULSARS IN GLOBULAR CLUSTERS