Electronic and molecular structure relations in diiron compounds mimicking the [FeFe]-hydrogenase active site studied by X-ray spectroscopy and quantum chemistry.