Kinetic theory and irreversible thermodynamics