Poisson statistics and localization at the spectral edge of sparse Erdős–Rényi graphs