First-principles study of electronic states, optical properties, water adsorption and dissociation properties of Pt-doped two-dimensional ZnO