Electrochemomechanics of lithium dendrite growth