Transmission capacity of erbium-doped fiber amplifiers as a criterion for quality of erbium-doped optical fibers