Millions of Americans have cast their votes to elect representatives in the US Senate and the US House of Representatives.