A constitutive model for rock materials subjected to triaxial cyclic compression