Self-assembly of semiconducting oxide nanowires, nanorods, and nanoribbons