Towards an ecology of medieval mining towns: linking social and environmental changes | Synapse