Coupled-cluster theory in a projected atomic orbital basis.