Schottky barriers at metal-finite semiconducting carbon nanotube interfaces