Novel approach to the chemical bath deposition of chalcogenide semiconductors