Quantum 1/fnoise associated with ionized impurity scattering and electron-phonon scattering in condensed matter