Use of principal curves for analysis and summary of palaeoecological stratigraphic data