How does the diaphragm help during inhaling and exhaling?