Topological defect transformation and structural transition of two-dimensional colloidal crystals across the nematic to smectic-A phase transition.