All-fiber optical attenuator based on eccentric core single-mode fiber