Do Foreign Investors Punish Democracy? Theory and Empirics, 1984–2001