Why running for president has a lot of upsides, even for the candidates who lose