The influence of electric-field bending on the nonlinearity of capacitive sensors