Electing the Senate: Indirect Democracy before the Seventeenth Amendment