Trends and long-run relations in cointegrated time series observed with noise