Dependence of dielectric properties on internal stresses in epitaxial barium strontium titanate thin films