Deterministic and stochastic MPC algorithms for minimizing mechanical stresses in wind farms