Analytical characterization of cadmium cyanamide in CdS thin films and bulk precipitates produced from CBD process in pilot plant