Electronic structure of the Hubbard and extended Hubbard models: An exact diagonalization study