Impurity-Induced Grain Boundary Embrittlement: a Simple Three-Dimensional Model