Diffusion of lithium ions and diffusion-induced stresses in a phase separating electrode under galvanostatic and potentiostatic operations: Phase field simulations. (December 2015)