Modification of electronic structure and thermoelectric properties of hole-doped tungsten dichalcogenides