Voltaic cells and potential difference