On the use of the Gram matrix for multivariate functional principal components analysis