The relationship between acoustic emission and permeability of rock under stress