Ectopic ACTH syndrome and medullary thyroid carcinoma.