Flexoelectric sensing using a multilayered barium strontium titanate structure