Thin film sulphides and oxides of 3d metals prepared from complex precursors by CVD