Legacies and challenges of economic restructuring in Edinburgh and Glasgow.