Phonons correction of the energy and photoionization cross section in polar semiconductors and hollow nanoparticles