Three-dimensional vortex dynamics and transitional flow induced by a circular cylinder placed near a plane wall with small gap ratios