Micromemory effects in shape memory alloys