The number of police officers being kicked off the force has surged to record levels, new figures show.