output observation and state in viterbi decoder