DFT Based Modeling of the Heavy Atom Effect in Triplet Photosensitizers: From Fundamental Mechanics to Rational Design