How are genres of fantasy and science fiction related?