A new opportunity for the emerging tellurium semiconductor: making resistive switching devices