Gravar-mail: Explicit-Duration Hidden Markov Model Inference of UP-DOWN States from Continuous Signals