Complete logic operations in an ambipolar tellurium homojunction via non-invasive scanning probe lithography