On measuring the joint probability density function of three-dimensional velocity components in turbulent flows