CHI posts net loss amid declining inpatient, outpatient volume