Nonlinear frequency conversion and manipulation of vector beams in a Sagnac loop.