Joint source/channel coding and MAP decoding of arithmetic codes