Rotational spectroscopy of methyl mercaptan CH332SH at millimeter and submillimeter wavelengths