Magnetic and transport properties of Er6Ni2Sn