A HMM-based algorithm for defining enriched regions from ChIP-seq data