The role of specimen stiffness in sliding and impact wear