which president was elected by the house of representatives because the presidential candidate received the same number of electoral college votes