Text this: Optimization and Validation of a Classification Algorithm for Assessment of Physical Activity in Hospitalized Patients