Treatment of idiopathic pulmonary fibrosis