Surface redox induced bipolar switching of transition metal oxide films examined by scanning probe microscopy