Effect of the sulfur and fluorine concentration on physical properties of CdS films grown by chemical bath deposition