Transducers for the bidirectional decoding of prefix codes