A deconvolution technique based on non-linear estimation of hidden Markov chains