Etch‐stop characteristics of Sc2O3 and HfO2 films for multilayer dielectric grating applications