A unified approach to constructing correlation coefficients between random variables