Structural complexity of layered-spinel composite electrodes for Li-ion batteries