The effect of the growth parameters on the optical properties of RF-sputtered CdS films