Automating electrochemical characterization for studies in energy storage and conversion