Entanglement and correlations in one-dimensional quantum many-body systems