Jet handedness as a measure of quark and gluon polarization