Atomic mechanism of glass formation in supercooled monatomic liquids