Boundary value problems with jumping nonlinearities