From twistor string theory to recursion relations