Mate competition during pseudocopulation in shipworms