Who directed an episode of the American science fiction television series based on a story by a man who followed in his father's footsteps and joined the Los Angeles Police Department, where he also began to write scripts for television?