Conserving ruined masonry: managing water regimes to enhance resilience in the face of changing environmental conditions