Enhanced thermoelectric performance by van Hove singularities in the density of states of type-II nodal-line semimetals