Integrated photonic quantum gates for polarization qubits