who won the popular vote in the election of 1824