Photoionization of dimeric polyatomic molecules: Proton affinities of H2O and HF | Synapse