The self-injective cluster-tilted algebras