Determination of potassium ion concentration in red mangrove