2D MEMS based diagonal switching design for simultaneous optical XOR/XNOR operation