Determination of the electronic and structural configuration of coordination compounds by synchrotron-radiation techniques