Mitigation of AC Line Disturbances Based on Unified Power Quality Conditioner UPQC