Fast explicit nonlinear model predictive control via multiresolution function approximation with guaranteed stability