Energy gap symmetry and thermal conductivity of YBa2Cu3O7