Electronic and optical properties of anion-doped c-ZrO2 from first-principles calculations