Synthesis of transition metal Chalcogenide thin films and studies related to optoelectronic properties