From the chemisorption of Co on Si(111)7×7 to the formation of epitaxial A and B-type CoSi2