Analytical representation of half-width for molecular ro-vibrational lines in the case of dipole–dipole and dipole–quadrupole interactions