Patients who use EHR portals have shorter hospital stays, analysis finds