Joint Communication–Motion Planning in Networked Robotic Systems