A novel proposal for all-optical compact and fast XOR/XNOR gate based on photonic crystal