Acoustic Emission Characteristics and Energy Evolution of Granite Subjected to Uniaxial Compression