Simple models for the calculation of photoionization and electron impact ionization cross sections of polyatomic molecules