Capacitance Transient X-ray Absorption Spectroscopy of semiconducting structures