The energy barrier at noble metal/TiO2 junctions