Analysis of grain boundary networks and their evolution during grain boundary engineering