Theoretical modeling of thermally activated luminescence quenching through charge transfer states in lanthanide complexes