See this PG from this thread to fade out/in to/from black.
You can also use a post process, as said in the thread.