Electronic and atomic structure of thin CoSi2 films on Si(111) and Si(100).