Asymmetry of the electronic states in hole- and electron-doped cuprates: Exact diagonalization study of the t − t ′ − t ″ − J model