Nonlinear eigenvalue problems having precisely two solutions