Nonequilibrium steady states of ideal bosonic and fermionic quantum gases.