Study the effect of magnesium doping concentration on structural and optoelectronic response of NaCa1-xMgxF3 fluoro-perovskite: First-principles computation