Soliton structures in the (1+1)-dimensional Ginzburg–Landau equation with a parity-time-symmetric potential in ultrafast optics