Dynamics of long-period gratings tuned with internal fiber electrodes.