Gas-self-filter-based erbium-doped fiber loop laser for gas detection.