Spatial Context-based Self-Supervised Learning for Handwritten Text Recognition