Consequences of Mortality Crises in Pre-Modern European Towns: A Multiagent-Based Simulation Approach