Text this: Green approach to synthesis polymer composites based on chitosan with desired linear and non-linear optical characteristics