Absence of spontaneous magnetization in low-dimensional Anderson and Kondo lattices