Flexible Piezoelectricity of Two-Dimensional Materials Governed by Effective Berry Curvature.