A CMOS-based highly scalable flexible neural electrode interface