Canonical correlation regression with noisy data