Logic compatible process technology for embedded atom switches in CMOS