The electoral college’s many flaws prove American democracy is surprisingly undemocratic