Asymptotic tracking of periodic trajectories for a simple mechanical system subject to non-smooth impacts