Effect of the fabrication method on the functional properties of BaTiO3: PVDF nanocomposites