Nonlinear mechanism of purposeful energy redistribution for reducing oscillations of structures on moving foundation