A Unified Framework for Absolute and Relative Pose Estimation of Spherical Cameras (IEEE Access, 2026)