Structure and electronic properties of cobalt atoms encapsulated in Sin (n = 1–13) clusters