Trends in prolonged hospitalizations in the United States from 2001 to 2012: a longitudinal cohort study