Theoretical modeling of erbium-doped fiber amplifiers with excited-state absorption.