Toughening of brittle materials by grain boundary engineering