After a day of chaos, Congress confirms Joe Biden as US president