On the unit cell group and factor group in the theory of the electronic and vibrational spectra of crystals