Mechanism of proton transport in compounds having a dynamically disordered hydrogen bond network