Production of spin-polarized molecular beams via microwave or infrared rotational excitation | Synapse