Validating a method for the estimate of gait spatio-temporal parameters with IMUs data on healthy and impaired people from two clinical centers