Observation of a topological crystalline insulator phase and topological phase transition in Pb1−xSnxTe