Stabilization of 4H hexagonal phase in gold nanoribbons