Critical silicon-anode size for averting lithiation-induced mechanical failure of lithium-ion batteries