Accurate analytical representations of the core-electron densities of the elements 3 through 118