Using pH dependence for understanding mechanisms in electrochemical CO reduction