Designs of all-optical NOR gates using SOA based MZI