Periodic solitons in dispersion decreasing fibers with a cosine profile