Interaction of molecules with electromagnetic fields. II. The multipole operators and dynamics of molecules with moving nuclei in electromagnetic fields