All-fiber Faraday devices based on terbium-doped fiber