Measuring complex correlation matrix of partially coherent vector light via a generalized Hanbury Brown-Twiss experiment.