Effects of chemical composition on the optical properties of Zn1−xCdxO thin films