Dynamics and efficiency of all-optical poling in polymers