Secondary electron and positron fluxes in the near-Earth space observed in the ARINA and PAMELA experiments