What did the twelfth amendment to the constitution specify should be done in an election like the election of 1824, in which no presidential candidate received a majority of the electoral votes?