On the applicability of the frequency moments method for the calculation of the spectral shape of a one-dimensional crystal