New trends in nonequilibrium statistical mechanics: classical and quantum systems