Thousands of people took to the streets in Toronto to demonstrate against the twin G8 and G20 summits.