Comparing approximate methods for mock catalogues and covariance matrices - I. Correlation function