Explicit hybrid model predictive control: discontinuous piecewise-affine approximation and FPGA implementation