Periodic bursts of star formation in irregular galaxies