Continuous respiratory rate monitoring to detect clinical deteriorations using wearable sensors