Optical and ac conductivity investigations on Sn doped Ag2S thin films under the structural transition framework