First-principles study of hydrogen trapping and diffusion at grain boundaries in γ-Fe