Time-invariant and time-varying discontinuity structures for models described by the generalized Korteweg–Burgers equation