The dynamics of formation and decay of organic exciplexes in the gas and condensed phases