Formation of accurate 1-nm gaps using the electromigration method during metal deposition