A photochemical study on the blue dye indigo: from solution to ancient Andean textiles