The Fock space coupled cluster method: theory and application