Scientists identify key conditions to set up a creative 'hot streak'