Structural, electrical and electrochemical studies of LiNi0.4M0.1Mn1.5O4 (M = Co, Mg) solid solutions for lithium ion battery