Estimation of common long-memory components in cointegrated systems