Assessment of adrenal function in liver diseases