Nonlinear dynamics of a vibro-impact system subjected to electromagnetic interactions