Factors predicting the duration of adrenal insufficiency in patients successfully treated for Cushing disease and nonmalignant primary adrenal Cushing syndrome