Extraction of single channel current from correlated noise via a hidden Markov model