how is phosphate is processed and refined