Identification of the binding modes of N-phenylphthalimides inhibiting bacterial thymidylate synthase through X-ray crystallography screening.