Flexoelectric effects in liquid crystals formed by pear-shaped molecules. A computer simulation study