Tandem Architecture for Photonic Packet Switches