An energy-based stability analysis of misfit dislocations in two-phase electrode particles: A planar model and implications for LiFePO4