Mössbauer spectroscopy study of epitaxial and buried CoSi layers