APR-Transformer: Initial Pose Estimation for Localization in Complex Environments through Absolute Pose Regression