Male quality, dominance rank, and mating success in free-ranging rhesus macaques