Microcrack formation and material softening in rock measured by monitoring acoustic emissions