Multifunctional finishing of cotton fabrics with 3,3',4,4'-benzophenone tetracarboxylic dianhydride: reaction mechanism.