Structures of small metal clusters. II. Phase transitions and isomerization