On the formation of martensite in front of cracks in pseudoelastic shape memory alloys