Cesium-Magnesium based cubic halide perovskites CsMgX3 (X = Cl,Br) with engrossing thermoelectric and optical properties suitable for energy conversion and solar cell based applications: A DFT speculation