Stable periodic solutions for the hypercycle system