Electrical and magnetic properties of Mn-doped Si thin films