Correction of the basis set superposition error in SCF and MP2