Performance analysis of human respiratory system based on the second law of thermodynamics.