Growth and morphology evolution of semiconducting oxides and sulfides prepared by magnetron sputtering