Flux of antinucleons induced by cosmic rays in the atmosphere