Elliptic problems with nonlinearities indefinite in sign