All-optical flip-flop based on coupled SOA-PSW