DFT and synchrotron-based X-ray studies of photoactivable complexes