R$^2$: A LLM Based Novel-to-Screenplay Generation Framework with Causal Plot Graphs