Transfer learning for multifidelity simulation-based inference in cosmology | Synapse