Beam maser investigation of inelastic scattering of NH3. II. Cross sections for rotational transitions induced by polar gases