Grain-boundary engineering markedly reduces susceptibility to intergranular hydrogen embrittlement in metallic materials