Composition dependence of infrared edge absorption in ZrF4 and HfF4 based glasses