Failure study of weathered granite based on critical slowing down theory and acoustic emission b-value