Charge capacities and shell structures of atoms