Estimating power spectral density with the Welch method