Transport properties of a few nanometer-thick TiSe2 films grown by molecular-beam epitaxy