Electronic Structure Evolution of SrCoOx during Electrochemically Driven Phase Transition Probed by in Situ X-ray Spectroscopy