Intermetallic insertion electrodes derived from NiAs-, Ni2In-, and Li2CuSn-type structures for lithium-ion batteries