Differential flatness of sliding mode nonlinear systems