Integrated high-fidelity preparation and analysis of photonic two-qubit states for quantum network nodes | Synapse