Krypton atoms are trapped in carbon nanotubes to allow real-time observation of the bonding of atoms to each other