What is the primary purpose of neurophysiological intraoperative monitoring (NIOM) during vascular surgeries?