Ion production and molecular excitation occurring in multiphoton processes