Some observations on acoustic emission generated during thermoelastic phase transformation in Al-Ni and Ti-Ni alloys