Preparation and properties of MoSx films grown by d.c. magnetron sputtering