The solvent effect in obtaining of acid–base multicomponent systems: thermal, structural and luminescence study