What is the difference in the number of edges in a triangular prism and a triangular pyramid?