Adsorption at grain boundaries and its effect on decohesion