On-chip integrated polarization photodetector inspired by desert ants