Topological edge states in a photonic crystal