The impacts of specialisation and diversification on Australia's mid-sized towns