How does concentration and ph affect the potential?