Effects of impulse on prescribed-time synchronization of switching complex networks