Structural and magnetic properties of CoxSi1−x thin films and multilayers