Killip-Simon-classes of Jacobi matrices with essential spectrum on two symmetric and of SMP matrices on two arbitrary intervals