Deformation mechanisms in an AZ31 cast magnesium alloy as investigated by the acoustic emission technique