Photon transport in one-dimensional systems coupled to three-level quantum impurities