All-optical time-division demultiplexing with polarization-diversity nonlinear loop interferometer