Compact modeling of the I-V characteristics of ZnO nanowires including nonlinear series resistance effects