Hidden Markov Model for methylation profile inference on WGBS data