Automatic identification of the relative degree of nonlinear systems: Application to sliding mode control design and experimental assessment