A segmentation approach for the reproducible extraction and quantification of knickpoints from river long profiles