Effect of pre-treatment with a tannin-based coagulant