Nash and Perfect Equilibria of Discounted Repeated Games