Photochromic gratings in sol gel films containing diazo sulfonamide chromophore