Rotational invariance of trellis codes. II: Group codes and decoders