Embedded contact homology and Seiberg–Witten Floer cohomology I | Synapse