Self-switching in Mach-Zehnder interferometers with SOA phase shifters