Green’s function method for analyzing the response of an infinite Euler-Bernoulli beam on inhomogeneous elastic foundation interacting with a moving oscillator