Understanding the physicochemical properties of some imidazolium and morpholinium ionic liquids by studying photophysical processes in these media