Resonant states and poles of the scattering matrix for perturbations of −Δ