Fatigue and dynamic energy behaviour of rock subjected to cyclical loading