Two-Photon Algebra and Integrable Hamiltonian Systems