Memory type switching behavior of ternary Ge20Te80−xSnx (0  ⩽  x  ⩽  4) chalcogenide compounds