Study on the relationship between macroscopic failure and micro-crack evolution in interbedded sandstone