Struvite formation, analytical methods and effects of pH and Ca2+.