Magnetic anisotropies of s-triazine and 2,4,6-trichloro-s-triazine