Spectroscopic investigation of an electrochemically controlled conducting polymer-solid electrolyte junction