Find the equation of the hyperbola whose foci are and the length of the latus rectum is 8 units.