Enhancing upconversion luminescence via intermediate state in double perovskite phosphor: three-mode optical thermometry with python-assisted validation | Synapse