Formation Mechanisms and Photocatalytic Properties of ZnO-Based Nanomaterials