Neural network-based multi-task learning for inpatient flow classification and length of stay prediction