CurriculumLoc: Enhancing Cross-Domain Geolocalization through Multi-Stage Refinement