R package for estimation and prediction of the cosinor model for periodic data