Patterns and processes of shell fragmentation in modern and ancient marine environments