A compound of Formula I or II: or an enantiomer, a mixture of enantiomers, a mixture of two or more diastereomers, a tautomer, or a mixture of two or more tautomers thereof; or a pharmaceutically acceptable salt, solvate, or hydrate thereof; wherein: R 1, R 2, R 3, R 4, and R 5 are each independently hydrogen, halo, or C 1-6 alkyl; R 6 is cyano or nitro; R 7 is hydrogen or C 1-6 alkyl; X is O or S; Y is -C R 1a, -C R 1a, -C NR 1b R 1c, -C NR 1b R 1c, -C OR 1e, -S R 1a or - S 2 R 1a; R 8 is hydrogen or C 1-6 alkyl; Z is -C R 1a, -C R 1a, -C NR 1b R 1c, -C NR 1b R 1c, -C OR 1e, -S R 1a or -S 2 R 1a; R 9 is hydrogen or C 1-6 alkyl; m is 0, 1, or 2; n is 1 or 2; p is 1, 2, 3, or 4; and R 1a, R 1c and R 1e are each independently (a) C 1-6 alkyl, optionally substituted with one or more halo, C 1-6 alkoxy, C 1-6 alkylthio, heterocyclyl or heteroaryl; (b) C 2-6 alkenyl, optionally substituted with one or more halo; (c) C 3-7 cycloalkyl, optionally substituted with one or more halo, or one or two C 1-6 alkyl; (d) C 6-14 aryl, optionally substituted with one or more halo, C 1-6 alkyl, where the alkyl is further optionally substituted with one, two, or three halo or C 1-6 alkoxy, where the alkoxy is further optionally substituted with one, two, or three halo; (e) heteroaryl, optionally substituted with one or two C 1-6 alkyl; or (f) C 7-15 aralkyl optionally substituted with one or more halo, C 1-6 alkyl, where the alkyl is further optionally substituted with one, two, or three halo, or C 1-6 alkoxy, where the alkoxy is further optionally substituted with one, two, or three halo; and R 1b is hydrogen or methyl; or R 1b and R 1c together with the N atom to which they are attached form heterocyclyl; with the proviso that R 1e is not t -butyl or benzyl. R 1, R 2, R 3, R 4, and R 5 are each independently hydrogen, halo, or C 1-6 alkyl; R 6 is cyano or nitro; R 7 is hydrogen or C 1-6 alkyl; X is O or S; Y is -C R 1a, -C R 1a, -C NR 1b R 1c, -C NR 1b R 1c, -C OR 1e, -S R 1a or - S 2 R 1a; R 8 is hydrogen or C 1-6 alkyl; Z is -C R 1a, -C R 1a, -C NR 1b R 1c, -C NR 1b R 1c, -C OR 1e, -S R 1a or -S 2 R 1a; R 9 is hydrogen or C 1-6 alkyl; m is 0, 1, or 2; n is 1 or 2; p is 1, 2, 3, or 4; and R 1a, R 1c and R 1e are each independently (a) C 1-6 alkyl, optionally substituted with one or more halo, C 1-6 alkoxy, C 1-6 alkylthio, heterocyclyl or heteroaryl; (b) C 2-6 alkenyl, optionally substituted with one or more halo; (c) C 3-7 cycloalkyl, optionally substituted with one or more halo, or one or two C 1-6 alkyl; (d) C 6-14 aryl, optionally substituted with one or more halo, C 1-6 alkyl, where the alkyl is further optionally substituted with one, two, or three halo or C 1-6 alkoxy, where the alkoxy is further optionally substituted with one, two, or three halo; (e) heteroaryl, optionally substituted with one or two C 1-6 alkyl; or (f) C 7-15 aralkyl optionally substituted with one or more halo, C 1-6 alkyl, where the alkyl is further optionally substituted with one, two, or three halo, or C 1-6 alkoxy, where the alkoxy is further optionally substituted with one, two, or three halo; and R 1b is hydrogen or methyl; or R 1b and R 1c together with the N atom to which they are attached form heterocyclyl; with the proviso that R 1e is not t -butyl or benzyl.