A molecular orbital model of intergranular embrittlement