Influence of composition and bottom electrode properties on the local conductivity of TiN/HfTiO2 and TiN/Ru/HfTiO2 stacks