Dynamic response analysis of the machine foundations on a nonhomogeneous soil layer