Structure and evolution of the histidine biosynthetic pathway