Text this: Tungsten disulfide-chitosan film as optical pulse and amplitude modulator in C-band region