Atomic and molecular density-of-states by direct Lanczos methods