Shot-noise measurements of single-atom junctions using a scanning tunneling microscope