Gravar-mail: Inference of mechanical states of intestinal motor activity using hidden Markov models