A comprehensive investigation of dye–chitosan blended films for green chemistry applications