Li+ extraction reactions with spinel-type LiM0.5Mn1.5O4 (M=Ti, Fe) and their electronic structures