Quantification of the trans influence in d8 square planar and d6 octahedral complexes: a database study