Tailoring topology and bio-interactions of triazine frameworks