Mechanical behaviour of rock discontinuities under seismic conditions