Effects of cyclic loading and unloading rates on the energy evolution of rocks with different lithology