Altruistic tendencies are sensitive to sex-specific mate selection criteria