Relation between the depth distribution of ionization and the lethal effects on bacteria