A simple model for diffusion-induced dislocations during the lithiation of crystalline materials