Competition between Bailar and Ray-Dutt paths in conformational interconversion of tris-chelated complexes: a DFT study