A linear matrix inequality approach to optimal reset control design for a class of nonlinear systems