Statistical Behavior of Atomic Energy Levels: Agreement with Random-Matrix Theory