Design of a Compact Polarization-Independent All-Optical and Logic Gate Based on Silicon Photonic Crystal