Toronto turned into fortress for G8, G20 summits