Exact-exchange extension of the local-spin-density approximation in atoms: Calculation of total energies and electron affinities | Synapse