A magnesium-based bifunctional MOF: Studies on proton conductivity, gas and water adsorption