Total ionizing dose effects in high voltage devices for flash memory