Nanoarchitectures of semiconducting and piezoelectric zinc oxide