Single-molecule reactions and spectroscopy via vibrational excitation