Grain boundary structures of atomic layer deposited TiN