First-principles Calculation of Transition-metal L2,3-edge Electron-energy-loss Near-edge structures Based on Direct Diagonalization of the Many-electron Hamiltonian