Design and Performance of a DNW CMOS Active Pixel Sensor for the ILC Vertex Detector