A Motion Planning Framework with Connectivity Management for Multiple Cooperative Robots