what is griseofulvin used to cure