Morphological evolution of Au nanowires controlled by Rayleigh instability