Quadratic configuration interaction. A general technique for determining electron correlation energies | Synapse