Example 14 Find the coordinates of the foci and the vertices