Generalized backward doubly stochastic differential equations and SPDEs with nonlinear Neumann boundary conditions