The origin and history of the metal and sulfide components of chondrules