Synchronization of summer peak temperatures in the Medieval Climate Anomaly and Little Ice Age across the Northern Hemisphere varies with space and time scales