First-principles investigation of a-SiN x :H