Emergency services had to deal with “significant disorder” in Scotland’s two largest cities on Bonfire Night, with firefighters coming under attack and fireworks and bricks thrown at police officers.