Multifaceted Approach in the Photonic and Biological Applications of CdS and Ag Nanoparticles Engineered on DNA and Schiff Base Templates