Elasticity and piezoelectricity of zinc oxide nanostructure