Microstructure modulation responsible for the improvement in thermoelectric property of a wide-gap AgIn5Se8 semiconductor