Simultaneous detection of acoustic emission and Barkhausen noise during the martensitic transition of a Ni-Mn-Ga magnetic shape-memory alloy