Field factor calculation for the study of the relationships between all the three-wave nonlinear optical interactions in uniaxial and biaxial crystals