Modelling ChIP-seq data using HMMs