Unifying model of thermal and light-induced degradations of a-Si : H