Exploitation and exploration in text evolution. Quantifying planning and translation flows during writing