Electronic and optical response of HfO2: DFT calculations with Ti and Zr incorporation