Surface and defect structure of oxide nanowires on SrTiO3.