Benford’s law in atomic spectra and opacity databases