Development of Square-wave Electrochemical Impedance Spectroscopy and its Application to Electrochemical Devices