The possibilities of simultaneous detection of gamma rays, cosmic-ray electrons and positrons on the GAMMA-400 space observatory