Local atomic order in icosahedral Ti-Zr-Ni and hydrogenated Ti-Zr-Ni quasicrystals