Effect of nearby supernova explosions on atmospheric ozone