Mechanical reliability of alloy-based electrode materials for rechargeable Li-ion batteries