Text this: Structural and optical investigations of cadmium sulfide nanostructures for optoelectronic applications