The variability of the optical emission of the nuclei of Seyfert galaxies