Cephalic biomechanics underpins the evolutionary success of trilobites