Optimal radial basis for density-based atomic representations