Arithmetic coding and decoding of multiple symbols