Optical properties of ZnO nanoplatelets and rectangular cross-sectioned nanowires