A simple method to determine the optical constants and thicknesses of ZnxCd1−xS thin films