Patterns of pulmonary fibrosis as related to pulmonary function.