Brazil's President has vowed to protect democracy and punish thousands after supporters of ex-President Jair Bolsonaro stormed Congress on Sunday.