Crystal field splitting, half metallic ferromagnetism, structural, mechanical and magneto-electronic properties of spinels type structure compounds MgX2O4 (X = Fe and Co) for spintronic applications