The method of increments—a wavefunction-based ab initio correlation method for solids