Chemo-mechanics of alloy-based electrode materials for Li-ion batteries