Use of the computer-administered Beck depression inventory and hopelessness scale with psychiatric inpatients