Lifetimes for the d 1Σ+ state of NH and ND