Atomic ground states in strong magnetic fields: Electron configurations and energy levels