Autoregressive hidden Markov models for the early detection of neonatal sepsis