Ab initio study of hydrogen sensing in Pd and Pt functionalized GaN [0 0 0 1] nanowires