THE DESIGN OF A BEAUTIFUL WEAPON: COMPENSATION FOR OPPOSING SEXUAL SELECTION ON A TRAIT WITH TWO FUNCTIONS