Optimized poling of nonlinear optical polymers based on dipole‐orientation and dipole‐relaxation studies