Ionic control of acid phosphatase activity in plant cell walls