Scientists have new evidence about how cosmic cataclysms forge gold, platinum and other heavy members of the periodic table