A generalized method for computing oscillator phase noise spectra