STATISTICAL PROPERTIES OF ATOMIC AND NUCLEAR SPECTRA