Learning affine predictors for MPC of nonlinear systems via artificial neural networks