Implications of nanostructuring on the thermoelectric properties in half-Heusler alloys