Controlled fabrication of metallic electrodes with atomic separation