Wide-Range Variable Gain Fiber Amplifier With Erbium-Doped Fiber Switching