Stability of chirped bright and dark soliton-like solutions of the cubic complex Ginzburg–Landau equation with variable coefficients