Theoretical lifetimes of Rydberg states of ArH and ArD