Characteristics of 2D ZnO-based piezoelectric nanogenerator and its application in non-destructive material discrimination