Model predictive control for constrained networked systems subject to data losses