Resistance and repair of mechanical fatigue in mussel shells