On proton transport in perovskite‐type oxides and plastic hydroxides