Divide-and-conquer potentials enable scalable and accurate predictions of forces and energies in atomistic systems