How did Canada’s democratic institutions develop?