Microwave spectra of molecules of astrophysical interest. XVIII. Dimethyl ether