Influence of irreversibility on inverse magnetocaloric and magnetoresistance properties of the (Ni,Cu)50Mn36Sn14 alloys