Conventional and inverse elastocaloric effect in Ni-Fe-Ga and Ni-Mn-Sn ribbons