Transport properties and the phase transition in Ti 1-x M x Se 2 (M=Ta or V)