Stability under lateral loads of tall freestanding masonry walls in historical monuments