Photon transport mediated by an atomic chain trapped along a photonic crystal waveguide