Optimal model averaging for multivariate regression models