Supernovae effects on the terrestrial atmosphere