Temperature driven $\alpha$ to $\beta$ phase-transformation in Ti from first principles theory combined with lattice dynamics