Important factors for the formation of radical cation of stilbene and substituted stilbenes during resonant two-photon ionization with a 266- or 355-nm laser