Male mating preference is associated with risk of pre-copulatory cannibalism in a socially polymorphic spider