Theoretical and experimental investigation on the spectroscopic properties of indigo dye