Quantification of particle shape by an automated image analysis system: a case study in natural sediment samples from extreme climates