Modification of BaTiO3 thin films: adjustment of the effective surface work function