Nanometer-scale metallic grains connected with atomic-scale conductors