Synthesis characterization of chemically deposited mixed chalcogenide thin films and their use in optoelectronic devices