Synthesis and characterization of partially coherent beams with propagation-invariant transverse polarization pattern