Investigation of Sensor Performance in Accumulation- and Inversion-Mode Silicon Nanowire pH Sensors