Use of electronic health records can reduce costs of outpatient care, says study