Template-assisted large-scale ordered arrays of ZnO pillars for optical and piezoelectric applications.