Characteristics of Thunderstorms That Produce Terrestrial Gamma Ray Flashes