Covariance measurement in the presence of non-synchronous trading and market microstructure noise