Symmetry analysis in neutron diffraction studies of magnetic structures: 2. Changes in periodicity at magnetic phase transitions