Martensite-like phase transformation and shape memory effect in orthomanganites