Quantum and classical correlations in the one-dimensional XY model with Dzyaloshinskii-Moriya interaction