Transition radiation in an elastically supported string. Abrupt and smooth variations of the support stiffness