Atomic and molecular correlation energies with explicitly correlated Gaussian geminals. IV. A simplified treatment of strong orthogonality in MBPT and coupled cluster calculations