First-principles investigation on the structural, electronic properties and diffusion barriers of Mg/Al doped NaCoO2 as the cathode material of rechargeable sodium batteries