Integrative Analysis of Epigenomics Data using the bidirectional hidden Markov Model in the R package STAN