Band gap analysis for nanometric sputtered CdTe and CdS films