Diagnosis, differential diagnosis, and treatment of endogenous hypercorticism