A comparison of deflation and the balancing Neumann-Neumann preconditioner