Quantum theory of plasmon polaritons in chains of metallic nanoparticles: From near- to far-field coupling regime