Chemical and electrochemical growth and characterization of chalcogenide semiconducting thin films for photovoltaic application