Amann-Zehnder type results for p-Laplace problems