Estimating functions of canonical correlation coefficients