A model for acid and alkaline phosphatase activity in a small pond