Text this: Defect-assisted reversible phase transition in mono- and few-layer ReS2