Determination of optical constants of ZrO2 and Zr by electron energy‐loss spectroscopy