Dynamics of photoinduced second order nonlinearity in dimethylamino-nitrostilbene polymer thin films