Astrobiological Effects of Gamma-Ray Bursts in the Milky Way Galaxy