Towards temperature-induced topological phase transition in SnTe: A first-principles study