Diffuse interface model for structural transitions of grain boundaries | Synapse