Topological quantum phase transition from mirror to time reversal symmetry protected topological insulator