Structural distortion and electron redistribution in dual-emitting gold nanoclusters