Preparation of tetrahydrofuran