Transition radiation in an infinite beam supported by a locally inhomogeneous and non-linear Winkler foundation