Comparison of the collective excitation spectra of three- , two- and one-dimensional electron systems