Theory of ultrafast nonresonant multiphoton transitions in polyatomic molecules: basics and application to optimal control theory.