Efficiency of second harmonic generation for partially coherent light in anisotropic crystals