Surface polarization and flexoelectric effect