from 1800 to 1824 presidential candidates were chosen by