First-principles DFT computation and X-ray spectroscopy study of the electronic band structure and optical constants of Cu2HgGeS4