Theory of the Fabry-Perot quantum Hall interferometer