On the properties of microsolvated molecules in the ground (S0) and excited (S1) states: The anisole-ammonia 1:1 complex