Precision measurement of dipole moments and other spectral constants of normal and deuterated methyl fluoride and methyl cyanide