Solvent effects on UV–Vis and FT-IR spectra of indapamide combined with DFT calculations