Estimation of the Spectral Density Function in the Presence of Harmonic Components