Nonlinear neural codes