The correlation of the maxima of correlated Brownian motions