Peatbogs, plague and potatoes : how climate change and geology shaped Scotland's