The mean lives of the first excited states in 181Ta and 165Ho