First principles study of electronic, optical, and thermoelectric properties of K2Pd (Cl/Br)6 for solar cells and renewable energy. (8th February 2022)