Generalization Errors and Learning Curves for Regression with Multi-task Gaussian Processes