Model predictive control schemes for consensus in multi-agent systems with integrator dynamics and time-varying communication