Increase in phosphate removal from wastewater by alternating aerobic and anaerobic conditions